package com.test.www.dao;

import com.test.www.model.Users;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UsersMapper {
    int deleteByPrimaryKey(Integer uId);

    int insert(Users record);

    int insertSelective(Users record);

    List<Users> selectUsers();

    Users selectByPrimaryKey(Integer uId);

    Users getRow(@Param(value="Loginname")String Loginname,  @Param(value="password")String password );

    int updateByPrimaryKeySelective(Users record);

    int updateByPrimaryKey(Users record);
}